'use strict';
module.exports = app => {
  const { INTEGER } = app.Sequelize;

  const RolePermission = app.model.define('role_permission', {
    id: { type: INTEGER, primaryKey: true, autoIncrement: true },
    role_id: INTEGER(11),
    permission_id: INTEGER(11),
  });

  return RolePermission;
};
